WSAL\WP_Sensors\WooCommerce_Sensor D

Total Complexity 1,098
Dependencies 15
Dependents 0
Total lines 5,992
Lines of code 4,090
Logical lines of code 1,801
Comment lines 1,377
Methods 105
Properties 23

Methods 105

Method Rating Maintainability Complexity Lines of code
settings_updated()
D
0
186 638
check_attributes_change()
D
21
61 189
check_settings_change()
D
23
57 153
wc_user_meta_updated()
D
30 33 109
check_type_change()
C
38 31 60
log_coupon_meta_update_events()
C
37 29 59
event_changed()
C
37 27 75
check_variations_change()
C
35 27 74
check_downloadable_file_change()
C
33 22 102
event_product_cat_updated()
C
34 22 97
check_dimensions_change()
B
43 25 40
must_not_contain_refund_or_modification()
B
48 18 36
event_order_items_added()
B
36 14 91
check_wc_ajax_change_events()
B
41 16 54
check_download_limit_change()
B
42 16 51
check_product_changes_after_save()
A
45 16 39
event_order_items_quantity_changed()
A
39 13 65
check_visibility_change()
A
42 13 54
viewing_product()
A
47 14 31
get_editor_link()
A
42 12 59
check_image_change()
A
43 12 48
event_attribute_updated()
A
50 13 26
check_upsells_change()
A
43 11 50
check_cross_sell_change()
A
43 11 50
event_untrashed()
A
42 10 57
event_trashed()
A
42 10 56
editing_product()
A
47 11 32
get_currency_symbol()
A
27
2 167
event_deleted()
A
46 10 39
check_stock_quantity_change()
A
48 10 31
check_product_changes_before_save()
A
47 10 31
order_opened_in_editor()
A
48 10 30
check_order_modify_change()
A
51 10 22
early_init()
A
32 3 127
event_order_items_removed()
A
39 6 77
retrieve_attribute_data()
A
60 11 10
check_categories_change()
A
51 9 24
check_status_change()
A
48 8 32
check_modify_change()
A
48 8 30
check_price_change()
A
57 9 14
check_tax_status_change()
A
46 7 39
check_weight_change()
A
51 8 24
check_stock_status_change()
A
52 8 23
check_sku_change()
A
52 8 23
check_catalog_visibility_change()
A
52 8 22
event_attribute_deleted()
A
55 8 17
get_before_post_edit_data()
A
54 8 17
log_coupon_meta_created_event()
S
57 8 14
event_order_refunded()
S
44 6 42
event_creation()
S
46 6 42
order_recursive_array_diff()
S
53 7 24
order_opened_for_editing()
S
57 7 16
check_title_change()
S
49 6 29
log_coupon_meta_delete_event()
S
57 7 14
check_backorders_setting()
S
51 6 25
check_date_change()
S
46 5 40
order_updated()
S
52 6 23
get_product_data()
S
47 5 35
get_string_attribute_value()
S
56 6 17
check_short_description_change()
S
50 5 30
detect_stock_level_change()
S
52 5 23
check_permalink_change()
S
54 5 20
check_featured_product()
S
54 5 20
check_low_stock_threshold_change()
S
54 5 19
get_attribute_event_data()
S
62 6 10
orders_actions()
S
62 6 10
get_product_sku()
S
59 5 13
data_store()
S
51 4 27
check_product_type_change()
S
53 4 21
event_price()
S
53 4 21
must_not_edit_or_order()
S
63 4 12
check_text_change()
S
55 3 20
event_cat_display_updated()
S
55 3 20
event_bulk_order_actions()
S
55 3 19
get_stock_status_name()
S
65 4 9
get_coupon_event_data()
S
60 3 13
event_order_refund_removed()
S
50 2 27
inline_product_changed()
S
61 3 12
event_dimension()
S
55 2 18
must_not_be_new_coupon()
S
67 3 9
get_wc_product_attributes()
S
63 3 10
do_not_detect_variation_changes_as_product_modified()
S
70 3 6
is_frontend_sensor()
S
66 3 8
event_attribute_added()
S
72 3 5
get_config()
S
68 3 7
event_category_creation()
S
61 2 13
event_tag_creation()
S
61 2 13
event_product_cat_deleted()
S
62 2 12
event_product_tag_deleted()
S
62 2 12
detect_shipping_zone_change()
S
63 2 11
must_not_contain_refund()
S
71 2 6
must_not_repeat_shipping()
S
69 2 7
must_not_repeat_billing()
S
69 2 7
before_wc_user_meta_update()
S
64 2 9
check_inline_edit()
S
70 2 6
must_not_be_fresh_post()
S
71 2 6
check_woo_commerce()
S
68 2 8
ignore_if_new_order()
S
71 2 6
webhook_added()
S
60 1 14
webhook_deleted()
S
62 1 12
event_order_status_changed()
S
61 1 11
event_admin_init()
S
75 1 5
get_product_categories()
S
78 1 3
get_attribute_key()
S
78 1 3
init()
S
89 1 2